package com.sztx.pay.center.rpc.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sztx.pay.center.core.service.impl.BillnoServiceImpl;
import com.sztx.pay.center.rpc.api.service.BillnoRpcService;

@Service
public class BillnoRpcServiceImpl implements BillnoRpcService {
	
	@Autowired
	BillnoServiceImpl billnoServiceImpl;

	@Override
	public String nextBusinessOrderId(int template) {
		return billnoServiceImpl.getNo(template);
	}
	
}
